import 'package:flutter/material.dart';
import 'package:provider/provider.dart';

import 'app.dart';
import 'core/app_initializer.dart';

Future<void> main() async {
  await AppInitializer.initialize();

  runApp(MultiProvider(
    providers: [
      ChangeNotifierProvider(
        create: (_) => AppInitializer.themeController,
      ),
      ChangeNotifierProvider(
        create: (_) => AppInitializer.localeController,
      ),
    ],
    child: const MyApp(),
  ));
}
